#include<stdio.h>
int main()
{
	int sum = 0, a;
	scanf("%d", &a);
	while (a != 25)
	{
		if (a > 25)
		{
			printf("Wrong!Too high!\n");
			sum = sum + 1;
		}
		if (a < 25)
		{
			printf("Wrong!Too low!\n");
			sum = sum + 1;
		}
			scanf("%d", &a);
	}
	sum = sum + 1;
		printf("Right!\nYou guess %d times\nThe game is over!",sum);
	return 0;

}

